import { defineAmisPlugin, getBaseFormItem, getInputTpl } from '../../base/util';
import ProjectUserHelp from './fc';
import type { IProps } from './interface';

export default defineAmisPlugin<IProps>(() => {
  return {
    component: ProjectUserHelp,
    options: getBaseFormItem({
      type: 'project-user-help', order: -8000, name: '项目人员帮助', icon: 'UserOutlined',xtype:'ProjectUserHelp',
      valueLabel: true,
      tpls: [
        getInputTpl('multiple', { type: "switch", label: "多选" }),
        getInputTpl('projCode', { label: '项目编码',  }),
        getInputTpl('placeholder', { label: '提示文本' }),
      ]
    })
  };
});
